package edu.ycu.aladdin.collector.api.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 爬虫配置.
 *
 * @author <a href="mailto:wangruihuano@gmail.com">王瑞环</a>
 * @since 1.0
 */
@Data
public class CrawlerConfig implements Serializable {

    private String domain;

    private String userAgent;

    private String charset;

    private int sleepTime = 5000;

    private int retryTimes = 0;

    private int cycleRetryTimes = 0;

    private int retrySleepTime = 1000;

    private int timeOut = 5000;
}
